home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / lib / ldscripts / elf_l1om.xu < prev    next >
Text File  |  2009-10-29  |  5KB  |  160 lines

  1. /* Script for ld -Ur: link w/out relocation, do create constructors */
  2. OUTPUT_FORMAT("elf64-l1om", "elf64-l1om",
  3.           "elf64-l1om")
  4. OUTPUT_ARCH(l1om)
  5.  /* For some reason, the Solaris linker makes bad executables
  6.   if gld -r is used and the intermediate file has sections starting
  7.   at non-zero addresses.  Could be a Solaris ld bug, could be a GNU ld
  8.   bug.  But for now assigning the zero vmas works.  */
  9. SECTIONS
  10. {
  11.   /* Read-only sections, merged into text segment: */
  12.   .interp       0 : { *(.interp) }
  13.   .note.gnu.build-id : { *(.note.gnu.build-id) }
  14.   .hash         0 : { *(.hash) }
  15.   .gnu.hash     0 : { *(.gnu.hash) }
  16.   .dynsym       0 : { *(.dynsym) }
  17.   .dynstr       0 : { *(.dynstr) }
  18.   .gnu.version  0 : { *(.gnu.version) }
  19.   .gnu.version_d 0: { *(.gnu.version_d) }
  20.   .gnu.version_r 0: { *(.gnu.version_r) }
  21.   .rela.init    0 : { *(.rela.init) }
  22.   .rela.text    0 : { *(.rela.text) }
  23.   .rela.fini    0 : { *(.rela.fini) }
  24.   .rela.rodata  0 : { *(.rela.rodata) }
  25.   .rela.data.rel.ro 0 : { *(.rela.data.rel.ro) }
  26.   .rela.data    0 : { *(.rela.data) }
  27.   .rela.tdata    0 : { *(.rela.tdata) }
  28.   .rela.tbss    0 : { *(.rela.tbss) }
  29.   .rela.ctors   0 : { *(.rela.ctors) }
  30.   .rela.dtors   0 : { *(.rela.dtors) }
  31.   .rela.got     0 : { *(.rela.got) }
  32.   .rela.bss     0 : { *(.rela.bss) }
  33.   .rela.ldata   0 : { *(.rela.ldata) }
  34.   .rela.lbss    0 : { *(.rela.lbss) }
  35.   .rela.lrodata 0 : { *(.rela.lrodata) }
  36.   .rela.iplt    0 :
  37.     {
  38.       *(.rela.iplt)
  39.     }
  40.   .rela.plt     0 :
  41.     {
  42.       *(.rela.plt)
  43.     }
  44.   .init         0 :
  45.   {
  46.     KEEP (*(.init))
  47.   } =0x90909090
  48.   .plt          0 : { *(.plt) }
  49.   .iplt         0 : { *(.iplt) }
  50.   .text         0 :
  51.   {
  52.     *(.text .stub)
  53.     /* .gnu.warning sections are handled specially by elf32.em.  */
  54.     *(.gnu.warning)
  55.   } =0x90909090
  56.   .fini         0 :
  57.   {
  58.     KEEP (*(.fini))
  59.   } =0x90909090
  60.   .rodata       0 : { *(.rodata) }
  61.   .rodata1      0 : { *(.rodata1) }
  62.   .eh_frame_hdr : { *(.eh_frame_hdr) }
  63.   .eh_frame     0 : ONLY_IF_RO { KEEP (*(.eh_frame)) }
  64.   .gcc_except_table 0 : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
  65.   /* Adjust the address for the data segment.  We want to adjust up to
  66.      the same address within the page on the next page up.  */
  67.   /* Exception handling  */
  68.   .eh_frame     0 : ONLY_IF_RW { KEEP (*(.eh_frame)) }
  69.   .gcc_except_table 0 : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
  70.   /* Thread Local Storage sections  */
  71.   .tdata    0 : { *(.tdata) }
  72.   .tbss        0 : { *(.tbss) }
  73.   .preinit_array   0 :
  74.   {
  75.     KEEP (*(.preinit_array))
  76.   }
  77.   .init_array   0 :
  78.   {
  79.      KEEP (*(SORT(.init_array.*)))
  80.      KEEP (*(.init_array))
  81.   }
  82.   .fini_array   0 :
  83.   {
  84.     KEEP (*(.fini_array))
  85.     KEEP (*(SORT(.fini_array.*)))
  86.   }
  87.   .jcr          0 : { KEEP (*(.jcr)) }
  88.   .dynamic      0 : { *(.dynamic) }
  89.   .got          0 : { *(.got) *(.igot) }
  90.   .got.plt      0 : { *(.got.plt)  *(.igot.plt) }
  91.   .data         0 :
  92.   {
  93.     *(.data)
  94.     SORT(CONSTRUCTORS)
  95.   }
  96.   .data1        0 : { *(.data1) }
  97.   .bss          0 :
  98.   {
  99.    *(.dynbss)
  100.    *(.bss)
  101.    *(COMMON)
  102.    /* Align here to ensure that the .bss section occupies space up to
  103.       _end.  Align after .bss to ensure correct alignment even if the
  104.       .bss section disappears because there are no input sections.
  105.       FIXME: Why do we need it? When there is no .bss section, we don't
  106.       pad the .data section.  */
  107.   }
  108.   .lbss 0 :
  109.   {
  110.     *(.dynlbss)
  111.     *(.lbss)
  112.     *(LARGE_COMMON)
  113.   }
  114.   .lrodata 0  :
  115.   {
  116.     *(.lrodata)
  117.   }
  118.   .ldata 0  :
  119.   {
  120.     *(.ldata)
  121.   }
  122.   /* Stabs debugging sections.  */
  123.   .stab          0 : { *(.stab) }
  124.   .stabstr       0 : { *(.stabstr) }
  125.   .stab.excl     0 : { *(.stab.excl) }
  126.   .stab.exclstr  0 : { *(.stab.exclstr) }
  127.   .stab.index    0 : { *(.stab.index) }
  128.   .stab.indexstr 0 : { *(.stab.indexstr) }
  129.   .comment       0 : { *(.comment) }
  130.   /* DWARF debug sections.
  131.      Symbols in the DWARF debugging sections are relative to the beginning
  132.      of the section so we begin them at 0.  */
  133.   /* DWARF 1 */
  134.   .debug          0 : { *(.debug) }
  135.   .line           0 : { *(.line) }
  136.   /* GNU DWARF 1 extensions */
  137.   .debug_srcinfo  0 : { *(.debug_srcinfo) }
  138.   .debug_sfnames  0 : { *(.debug_sfnames) }
  139.   /* DWARF 1.1 and DWARF 2 */
  140.   .debug_aranges  0 : { *(.debug_aranges) }
  141.   .debug_pubnames 0 : { *(.debug_pubnames) }
  142.   /* DWARF 2 */
  143.   .debug_info     0 : { *(.debug_info) }
  144.   .debug_abbrev   0 : { *(.debug_abbrev) }
  145.   .debug_line     0 : { *(.debug_line) }
  146.   .debug_frame    0 : { *(.debug_frame) }
  147.   .debug_str      0 : { *(.debug_str) }
  148.   .debug_loc      0 : { *(.debug_loc) }
  149.   .debug_macinfo  0 : { *(.debug_macinfo) }
  150.   /* SGI/MIPS DWARF 2 extensions */
  151.   .debug_weaknames 0 : { *(.debug_weaknames) }
  152.   .debug_funcnames 0 : { *(.debug_funcnames) }
  153.   .debug_typenames 0 : { *(.debug_typenames) }
  154.   .debug_varnames  0 : { *(.debug_varnames) }
  155.   /* DWARF 3 */
  156.   .debug_pubtypes 0 : { *(.debug_pubtypes) }
  157.   .debug_ranges   0 : { *(.debug_ranges) }
  158.   .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
  159. }
  160.